//
//  ListViewController.h
//  HZHome
//
//  Created by SunShine on 13-9-21.
//  Copyright (c) 2013年 xzysun. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CommonDataService.h"
#import "CustomPullToRefresh.h"

@interface ListViewController : ConfigableViewController <UITableViewDataSource, UITableViewDelegate,DataDelegateProtocol,UISearchBarDelegate,CustomPullToRefreshDelegate, UIAlertViewDelegate>
{
    
}
@property (strong, nonatomic) IBOutlet HMSegmentedControl *segmentedController;
@property (strong, nonatomic) IBOutlet UISearchBar *searchBar;
@property (strong, nonatomic) IBOutlet UITableView *tableView;
@property (strong, nonatomic) IBOutlet UITextView *tipsView;
@property (strong, nonatomic) IBOutlet UILabel *tipLabel;

@property (strong, nonatomic) CommonDataService *dataService;

@property (strong, nonatomic) NSString *searchText;

-(void)phoneButtonAction:(id)sender;
-(void)mapButtonAction:(id)sender;
-(void)guidButtonAction:(id)sender;
-(void)guidCommonButtonAction:(id)sender;
-(void)isCallPhone:(NSString*)phone;
@end
